package com.scedu;

import com.scedu.dao.StudentDao;
import com.scedu.dao.impl.StudentDaoImpl;
import com.scedu.entity.Student;

import java.util.List;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {

        StudentDao studentDao=new StudentDaoImpl();
        List<Student> allStudent = studentDao.findAllStudent();
        for (Student student : allStudent) {
            System.out.println(student);
        }

    }
}
